package d3_polymorphism;

public class Dog extends Animal {

    public void lookDoor(){
        System.out.println("狗看门~~~");
    }
    @Override
    public void cry() {
        String name = "Dag";
        super.cry();
        System.out.println("狗在汪汪的叫~~~");
    }
}
